projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1186a
)
; * src/xterm.c (x_alloc_nearest_color_1): Commit missing hunk (again).
author
Po Lu
<luangruo@yahoo.com>
Mon, 7 Mar 2022 11:57:19 +0000
(19:57 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 7 Mar 2022 11:57:19 +0000
(19:57 +0800)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 76222d6256f5f128fa05671ab6781b54d3e638ea..d3e3ed3a06b6c2b1dfbfee22d2ffd5bc16c04269 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-3878,10
+3878,6
@@
x_alloc_nearest_color_1 (Display *dpy, Colormap cmap, XColor *color)
* ((color->blue >> 8) - (cells[x].blue >> 8))));
if (trial_delta < nearest_delta)
{
- temp.red = cells[x].red;
- temp.green = cells[x].green;
- temp.blue = cells[x].blue;
-
nearest = x;
nearest_delta = trial_delta;
}